package org.wjk.props;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Accessors(chain = true)
@Component
@ConfigurationProperties("spring.task.execution.pool")
public class ThreadPoolProperties
{
    private Integer coreSize;
    private Integer keepAlive;
    private Integer maxSize;
    private Integer queueCapacity;
}
